﻿ALTER TABLE [Training].[Course]
    ADD CONSTRAINT [FK_Course_Subject] FOREIGN KEY ([SubjectId]) REFERENCES [Training].[Subject] ([SubjectId]) ON DELETE NO ACTION ON UPDATE NO ACTION;

